package tour.board.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Map;

import tour.board.to.Board;

public interface BoardService {

	//글입력 처리를 하는 Business 메소드
	public abstract void writeContent(Board bto) throws SQLException;

	public abstract ArrayList<Board> getBoardAllList() throws SQLException;

	public abstract Board getContentByNO(int no) throws SQLException;

	public abstract Board getContentByNoForForm(int no) throws SQLException;

	public abstract void modifyContent(Board bto) throws SQLException;

	public abstract void deleteContentByNO(int no) throws SQLException;

	public abstract void replyContent(Board bto) throws SQLException;

	//페이징 리스트 조회
	public abstract Map getBoardListByPage(int page) throws SQLException;

	public abstract ArrayList findTitle(String find);

	public abstract ArrayList mainList();

}